/**
 * 权限接口，用户类必须实现该接口，在用注解进行权限处理时将会使用该接口
 */
package com.cnfangmao.right.api;

import java.util.Collection;

import com.cnfangmao.right.entity.Right;
import com.cnfangmao.right.entity.Role;

public interface Righter {
	public boolean checkRight(String strRight);
	public Collection<Right> getAllRights();
	public Collection<Right> getAllDeclaredRights();
	public Collection<Role> getAllRoles();
}
